package voxelTest;

//This is the main one - Code Tester

//import java.awt.event.MouseListener;
//import java.util.Scanner;

//import java.util.Scanner;



import javax.swing.*;

import org.lwjgl.LWJGLException;

//[attachmentid=10502]
public class Ventana
{
    private static Interpreter interpreter;
    
    //private int CURRENT_WIDTH = 600;
    //private int CURRENT_HEIGHT = 400;
    private static final int FPS = 30;
    
   
    
    
    public static void main(String[] args)
    {
    	interpreter = new Interpreter();
    	interpreter.start();
    	BasicRenderer r = new BasicRenderer(GC.MAZE_WIDTH,GC.MAZE_HEIGHT);
    	r.Start();
    	
    	/*
    	
    	
        JFrame frame;
        frame = new JFrame("Maze generator"); //Title
        frame.setSize(GC.VENTANA_WIDTH,GC.VENTANA_HEIGHT); // Size of Window
        frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); //Allows the program to end when click exit
        frame.setResizable(true); // User cannot resize the window
        gsc = new MazeContainer(GC.MAZE_WIDTH,GC.MAZE_HEIGHT,frame);//Make a new component (gsc = gridsquarecomponent xD)
        //gsc = new Test2();
        frame.add(gsc); //add the gsc component to the frame
      
       
        frame.setVisible(true);
        

        while (true)
        {
        	try {
				Thread.sleep(1000/FPS);
			} catch (InterruptedException e) {
				// TODO Auto-generated catch block
				e.printStackTrace();
			}
            //System.out.println(s.nextLine());
            gsc.repaint();
        }
*/
    }
}
